import './assets/main.css'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import directives from './directive'
import VueCesium from 'vue-cesium'
import 'vue-cesium/dist/index.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(directives)
app.use(VueCesium)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')
